<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>3-5 Vue.mixin</title>
</head>
<body>
<div id="app"></div>
</body>
<script src="./js/vue.js"></script>
<script>
    Vue.mixin({
        created() {
            var myOption=this.$options.myOption
            if (myOption) {
                console.log(myOption)
            }
        }
    })

    new Vue({
        myOption:"hello"
    })
</script>
</html>